package com.xuecheng.manage_cms.dao;

import com.xuecheng.framework.domain.system.SysDictionary;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SystemDictionaryRepository extends MongoRepository<SysDictionary, String> {
    /**
     * 根据type查询
     * @param type 类型
     * @return 结果
     */
    SysDictionary findByDType(String type);
}
